import 'package:flutter_app/common/dto/dto.dart';
import 'package:get/get.dart';
import 'package:flutter_easyrefresh/easy_refresh.dart';

class MainState {

  Rx<NewsPageListResponse> newsPageList = NewsPageListResponse().obs; // 新闻翻页
  Rx<NewsRecommendResponse> newsRecommend =  NewsRecommendResponse().obs; // 新闻推荐
  RxList<CategoryResponse> categories = <CategoryResponse>[].obs; // 分类
  RxList<ChannelResponse> channels = <ChannelResponse>[].obs; // 频道

  RxString selCategoryCode = "".obs; // 选中的分类Code

  EasyRefreshController easyRefreshController = EasyRefreshController();

  MainState();

}
